package channel

import (
	"gitee.com/liuxuezhan/ar-platform/assets-rpc/internal/dao/schema"
)

const TableNameTenantChannelBankAgent = "tenant_channel_bank_agent"

// TenantChannelBankAgent 商户通道【bank_agent】
type TenantChannelBankAgent struct {
	schema.Model
	BankCode       string `gorm:"type:varchar(32);not null;comment:银行编码;index"`
	BankName       string `gorm:"type:varchar(32);not null;comment:银行名字"`
	CollectionName string `gorm:"type:varchar(32);not null;comment:三方名字"`
	Status         int32  `gorm:"type:tinyint;not null;comment:1开启;index"`
}

func (*TenantChannelBankAgent) TableName() string {
	return TableNameTenantChannelBankAgent
}
